//
//  WDServiceStationsRequest.m
//  wd-serviceapp
//
//  Created by Bin Tang on 2025/2/24.
//

#import "WDServiceStationsRequest.h"

@interface WDServiceStationsRequest ()
@property (nonatomic, strong) NSNumber *stationId;
@end

@implementation WDServiceStationsRequest

/// 初始化
/// - Parameter stationId: id
- (instancetype)initWithStationId:(NSNumber *)stationId {
    if (self = [super init]) {
        self.stationId = stationId;
    }
    return self;
}

- (NSString *)requestUrl {
    return kSTATION_TASK_SERVICE_STATION_INFO;
}

- (TYZRequestSerializerType)requestSerializerType {
    return TYZRequestSerializerTypeHTTP;
}

- (TYZRequestMethod)requestMethod {
    return TYZRequestMethodGET;
}

- (id)requestArgument {
    NSMutableDictionary *params = @{}.mutableCopy;
    if (self.stationId) {
        params[@"id"] = self.stationId;
    }
    return params;
}

- (Class)rspClass {
    return [WDServiceStationInfoModel class];
}

//- (Class)rspClass {
//    return [WDBaseRspModel class];
//}
//
//- (Class)recordsRspClass {
//    return [WDArrivalServiceItemModel class];
//}

@end
